﻿using System;

using Fuse8.DomainFramework.Domain;

using Fuse8.ContentManagementFramework.Domain.Commands.CommandParameters;

namespace Fuse8.ContentManagementFramework.Domain.Commands
{
    public abstract class CmsEntityAnnotationGetForEntityCommand : BaseEntityParameterCommand<CmsEntityAnnotation, CmsEntityAnnotationGetForEntityCommandParameter>
    {
        #region Overrides

        public override string CacheKey
        {
            get
            {
                return string.Format("Entity_{0};EntityTypeParameter_{1}",
                    CommandParameter.EntityId,
                    CommandParameter.EntityTypeParameter);
            }
        }

        public override string CommandName
        {
            get
            {
                return "CmsEntityAnnotationGetForEntityCommand";
            }
        }

        #endregion
    }
}
